import request from "@/utils/request";

// 获取品牌列表
export const reqTrademarkList = (page, limit) =>
  request.get(`/admin/product/baseTrademark/${page}/${limit}`);
  
// 删除某个品牌
export const reqDeleteTrademark = id =>
  request.delete(`/admin/product/baseTrademark/remove/${id}`);

//   新增某个品牌
export const reqAddTrademark = trademark =>
  request.post("/admin/product/baseTrademark/save", trademark);

//   修改某个品牌
export const reqModifyTrademark = trademark =>
  request.put("/admin/product/baseTrademark/update", trademark);

// 获取品牌列表
export const reqAllTrademark = () =>
  request.get("/admin/product/baseTrademark/getTrademarkList");
